let integer_sum = 0;
let odd_sum = 0;
let even_sum = 0;
for (let i = 1; i <= 100; i++) {
    integer_sum = integer_sum + i;
    if (i % 2 == 0) {
        even_sum = even_sum + i;
    } else {
        odd_sum = odd_sum + i;
    }
}
console.log("整数和：" + integer_sum);
console.log("奇数和：" + odd_sum);
console.log("偶数和：" + even_sum);